package com.bgs.service;

import com.bgs.common.R;
import com.bgs.pojo.Store;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bgs.pojo.vo.StoreTow;

import org.springframework.web.multipart.MultipartFile;
import com.bgs.pojo.vo.ZeroToReportAndOrderDetail;

import java.util.List;



/**
 * <p>
 * 店铺表 服务类
 * </p>
 *
 * @author Asia
 * @since 2021-09-14
 */
public interface StoreService extends IService<Store> {

    R zeroGetStoreToZeroToReportAndOrderDetail(List<ZeroToReportAndOrderDetail> zeroToReportAndOrderDetails);

    R zeroStoreStatus4(Integer storeId);



    //后台店铺审核
    List<Store> TowGettableData(String beforeUserName,String storeName);
    //后台店铺审核通过
    int TowDianShen(Integer storeId);
    //后台店铺审核未通过
    int TowDianShenNo(Integer storeId);

    List<Store> zeroStoreIdToStore(Integer storeId);
    //开启店铺
    R FourOpenShop(Store store);
    //上传图片
    String FourOpenImg(MultipartFile file);
    //被订单服务远程调用查询店铺信息
    List<Store> TowOrderStore(Integer storeId);
    //查看当前商户的所有商品
    List<StoreTow> TowListCircle(Integer beforeUserId);


    //查询店铺id
    R fourStoreId(Integer id);
    //查询所有的店铺
    List<Store> FourStore();
}
